@(addPinForm: Form[is.ru.honn.rupin.domain.Pin])

@import helper._
@import helper.twitterBootstrap._

@title = {
Add new pin
}

@main(title, nav = "session") {
@helper.form(action = routes.Session.submit) {
<fieldset>
    <legend>Pin informations</legend>
    @inputText(
    addPinForm("description"),
    '_label -> "Description",
    '_help -> "Please enter description.",
    '_error -> addPinForm.globalError
    )
    @inputText(
    addPinForm("link"),
    '_label -> "Link",
    '_help -> "Please enter url.",
    '_error -> addPinForm.globalError
    )

    @inputText(
    addPinForm("image"),
    '_label -> "Image",
    '_help -> "Please enter url.",
    '_error -> addPinForm.globalError
    )

    @inputText(
    addPinForm("boardname"),
    '_label -> "Board Name",
    '_help -> "Please enter boardname. "
    )

</fieldset>


<div class="actions">
    <input type="submit" class="btn primary" value="Add">
    <a href="@routes.Application.index" class="btn">Cancel</a>
</div>
}
}